<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>函数的默认值</title>
</head>
<body>
    <script>
        var gu=({x=1,y=3}={x:6,y:9})=>{ 
            console.log(x,y);
        }
        // rui={
        //     x:1,
        //     y:2
        // }
            gu({});
            gu({x:3})
            gu();
    
    </script>
</body>
</html>